From bfc2f1e8d95ddaf1d18fc403f3b8a096965fd6da Mon Sep 17 00:00:00 2001 From: oliskoli Date: Tue, 21 Aug 2007 19:24:59 +0000 Subject: [PATCH] mapsend: Tweak possible C89 issue. --- mapsend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapsend.c b/mapsend.c index b7910bf56..ab91003a6 100644 --- a/mapsend.c +++ b/mapsend.c @@ -505,8 +505,8 @@ static void mapsend_wpt_write(void) { mapsend_hdr hdr = {13, {"4D533330 MS"}, {"30"}, ms_type_wpt, {0, 0, 0}}; - int wpt_count = waypt_count(); int n = 0; + int wpt_count = waypt_count(); if (global_opts.objective == trkdata) { mapsend_track_write(); -- 2.30.2